package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tp_user
 * 
 * @author ruoyi
 * @date 2024-03-19
 */
public class TpUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long tpUid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String tpUname;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String tpUemail;

    /** 密码 */
    @Excel(name = "密码")
    private String tpUpwd;

    /** 年龄 */
    @Excel(name = "年龄")
    private String tpAge;

    /** 性别 */
    @Excel(name = "性别")
    private String tpGender;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String tpUpic;

    /** 电话 */
    @Excel(name = "电话")
    private String tpPhone;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tpRegdate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tpUpdateTime;

    public void setTpUid(Long tpUid) 
    {
        this.tpUid = tpUid;
    }

    public Long getTpUid() 
    {
        return tpUid;
    }
    public void setTpUname(String tpUname) 
    {
        this.tpUname = tpUname;
    }

    public String getTpUname() 
    {
        return tpUname;
    }
    public void setTpUemail(String tpUemail) 
    {
        this.tpUemail = tpUemail;
    }

    public String getTpUemail() 
    {
        return tpUemail;
    }
    public void setTpUpwd(String tpUpwd) 
    {
        this.tpUpwd = tpUpwd;
    }

    public String getTpUpwd() 
    {
        return tpUpwd;
    }
    public void setTpAge(String tpAge) 
    {
        this.tpAge = tpAge;
    }

    public String getTpAge() 
    {
        return tpAge;
    }
    public void setTpGender(String tpGender) 
    {
        this.tpGender = tpGender;
    }

    public String getTpGender() 
    {
        return tpGender;
    }
    public void setTpUpic(String tpUpic) 
    {
        this.tpUpic = tpUpic;
    }

    public String getTpUpic() 
    {
        return tpUpic;
    }
    public void setTpPhone(String tpPhone) 
    {
        this.tpPhone = tpPhone;
    }

    public String getTpPhone() 
    {
        return tpPhone;
    }
    public void setTpRegdate(Date tpRegdate) 
    {
        this.tpRegdate = tpRegdate;
    }

    public Date getTpRegdate() 
    {
        return tpRegdate;
    }
    public void setTpUpdateTime(Date tpUpdateTime) 
    {
        this.tpUpdateTime = tpUpdateTime;
    }

    public Date getTpUpdateTime() 
    {
        return tpUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tpUid", getTpUid())
            .append("tpUname", getTpUname())
            .append("tpUemail", getTpUemail())
            .append("tpUpwd", getTpUpwd())
            .append("tpAge", getTpAge())
            .append("tpGender", getTpGender())
            .append("tpUpic", getTpUpic())
            .append("tpPhone", getTpPhone())
            .append("tpRegdate", getTpRegdate())
            .append("tpUpdateTime", getTpUpdateTime())
            .toString();
    }
}
